@import '../def.scss';

.content {
	
}
.nav-wrap{
	width: 100%;
	height: 88rpx;
	display: flex;
	align-items: center;
	margin-bottom: 15rpx;
	.nav-tab{
		display: flex;
		align-items: center;
		width: 100%;
		padding:0 30rpx;
		box-sizing: border-box;
		.nav-item{
			font-size: 28rpx;
			font-weight: normal;
			line-height: 32rpx;
			color: #666666;
			text-align: center;
			position: relative;
			margin-right: 30rpx;
			white-space: nowrap;
		}
		.active{
			font-weight: 500;
			color: #000000;
			font-size: 30rpx;
			&:after{
				content:"";
				width: 100%;
				height: 4rpx;
				border-radius: 100rpx;
				position:absolute;
				bottom:-12rpx;
				transform: translateX(-50%);
				left:50%;
				background: #EC6A0A;
			}
		}
	}
}

.search{
	background: #F4F4F5;
	border-radius: 44rpx;
	position: relative;
	width: 686rpx;
	height: 72rpx;
	margin: 30rpx auto;
	.search-icon{
		position: absolute;
		top: 50%;
		left: 30rpx;
		transform: translateY(-50%);
		width: 42rpx;
		height: 42rpx;
	}
	input{
		width: 100%;
		height: 100%;
		line-height: 72rpx;
		font-size: 28rpx;
		padding: 0 80rpx;
		box-sizing: border-box;
	}
}
.buy{
	padding: 0 15rpx 15rpx;
	box-sizing: border-box;
	width: 100%;
	background: #fff;
	margin-bottom: 24rpx;
	border-bottom: 1rpx solid #d8d8d8;
	.user{
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 15rpx;
		.user-left{
			display: flex;
			align-items: center;
			image{
				width: 52rpx;
				height: 52rpx;
				border-radius: 50%;
			}
			span{
				padding-left: 15rpx;
				font-size: 30rpx;
				font-weight: normal;
				line-height: 32rpx;
				text-align: center;
				color: #333333;
			}
		}
		.user-right{
			font-size: 24rpx;
			font-weight: normal;
			line-height: 32rpx;
			text-align: center;
			color: #F17714;
		}
	}
	.buy-wrap{
		display: flex;
		align-items: center;
		justify-content: space-between;
		.buy-left{
			display: flex;
			.buy-pic{
				width: 150rpx;
				height: 150rpx;
				border-radius: 8rpx;
			}
			.pri-wrap{
				margin-left: 16rpx;
				display: flex;
				flex-direction: column;
				justify-content: center;
				.pri-title{
					// margin-left: 16rpx;
					margin-bottom: 16rpx;
					font-size: 28rpx;
					font-weight: normal;
					line-height: 32rpx;
					color: #000000;
		
				}
				.price{
					font-size: 42rpx;
					font-weight: normal;
					line-height: normal;
					color: #EC6A0A;
					.price-icon{
						font-weight: 400;
						font-size: 28rpx;
					}
				}
				.pri-title{
					font-size: 28rpx;
					font-weight: normal;
					line-height: 32rpx;
					color: #000000;
		
				}
				.attr{
					margin-left: 5rpx;
					font-size: 28rpx;
					font-weight: normal;
					line-height: 32rpx;
					text-align: center;
					color: #666666;
				}
			}
		}
		.buy-right{
			display: flex;
			align-items: center;
			.buy-want{
				padding: 12rpx 30rpx;
				border-radius: 100rpx;
				background: linear-gradient(180deg, #EC6A0A 0%, #FB8E26 100%);
				font-size: 28rpx;
				font-weight: normal;
				line-height: 32rpx;
				text-align: center;
				color: #FFFFFF;
			}
			.buy-btn{
				padding: 12rpx 12rpx;
				border-radius: 100rpx;
				background: #F6F6F6;
				font-size: 28rpx;
				font-weight: normal;
				line-height: 32rpx;
				text-align: center;
				color: #000000;
				margin-right: 10rpx;
			}
		}
		
	}
	
}
.more{
	width: 100%;
	text-align: center;
	font-size: 28rpx;
	font-weight: normal;
	line-height: 32rpx;
	text-align: center;
	color: #666666;
}